package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CIcprecordinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CIcprecordinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CIcprecordinfoService;



@Service("cIcprecordinfoService")
public class CIcprecordinfoServiceImpl implements CIcprecordinfoService {
	@Autowired
	private CIcprecordinfoDao cIcprecordinfoDao;
	
	@Override
	public CIcprecordinfoEntity queryObject(Integer id){
		return cIcprecordinfoDao.queryObject(id);
	}
	
	@Override
	public List<CIcprecordinfoEntity> queryList(Map<String, Object> map){
		return cIcprecordinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cIcprecordinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CIcprecordinfoEntity cIcprecordinfo){
		cIcprecordinfoDao.save(cIcprecordinfo);
	}
	
	@Override
	public void update(CIcprecordinfoEntity cIcprecordinfo){
		cIcprecordinfoDao.update(cIcprecordinfo);
	}
	
	@Override
	public void delete(Integer id){
		cIcprecordinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cIcprecordinfoDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cIcprecordinfoDao.delete(entname);
		
	}
}
